<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">

<title>药物列表</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="<%=basePath%>css/wx.css" />
<link rel="stylesheet" href="<%=basePath%>css/weui.css" />
<link rel="stylesheet" href="<%=basePath%>css/example.css" />
<script type="text/javascript" src="<%=basePath%>js/jquery.js"></script>
<script type="text/javascript" src="<%=basePath%>js/medicineList.js"></script>
<style type="text/css">

.search{
width: 95%;
height: 40px;
text-align: center;
margin-top: 5px;
background:#fff; 
border: 1px solid #c0c0c0;
padding:2px;
-webkit-border-radius:22px;
-moz-box-shadow:0;
}

#mlist ul li{
list-style:none; /* 将默认的列表符号去掉 */
padding:5px; /* 将默认的内边距去掉 */
float:left; /* 往左浮动 */
height: 200px;
background-color: #fff;
margin-top: 10px;
border-radius:10px;
margin-left: 5px;
width: 45%;
}
#mlist ul li p{
font-size: 15px;
text-align: center;
overflow: hidden;
white-space:nowrap;/*不显示的地方用省略号...代替*/
text-overflow:ellipsis;
width: 100%;
color: #000fff;

}
#mlist ul li span{
font-size: 15px;
color: #000;
margin-left: 5%;
height: 100px;
overflow: hidden;
white-space:nowrap;/*不显示的地方用省略号...代替*/
width: 200px;
text-overflow:ellipsis;
}

#mlist ul li span p{
font-size: 15px;
color: #c0c0c0;
margin-left: 5%;
overflow: hidden;
white-space:nowrap;/*不显示的地方用省略号...代替*/
width: 200px;
text-align:left;
text-overflow:ellipsis;
}
</style>
</head>
<script type="text/javascript">
var basePath="<%=basePath%>";
</script>
<body>
	<section>
		<div class="hd" style="padding:0em 0;text-align: -webkit-center;">
			<input type="search" class="search" id="search" placeholder="请输入药品名称" value="" oninput="toSearch();">
		</div>
	</section>
	<section>
		<div id="mlist">
			<ul id="showmedicine">
				<li>
					<p>达克灵</p>
					<span>使用症状:
						<p style="width: 100%;">1. 由皮真菌、酵母放人放人放热敷热风菌及其俄方对施工方... </p>
					</span>
					<span>药品成分:
							<p style="width: 100%;">本品为复方制剂，每片含碳酸钙0.75克（相当于钙300毫克），维生素D3 60国际单位。辅料为：可压缩糖</p>
					</span>
					<span>适应症:
							<p style="width: 100%;">本品为复方制剂，每片含碳酸钙0.75克（相当于钙300毫克），维生素D3 60国际单位。辅料为：可压缩糖</p>
					</span>
					<span>价格: <span style="color: red">￥97.0</span></span>

				</li>
				<li>1</li>
			</ul>
		</div>
	
	</section>
	<br>
	<section style="margin-top: 200px;">
	<div style="text-align: center;">当前第<span id="curr"></span>页，总共<span id="total"></span>页</div>
	<input type="hidden" id="currPage" name="currPage" value="1"/>
	<input type="hidden" id="totalPage" name="totalPage" value=""/>
	<div class="button_sp_area" style="text-align:-webkit-center;">
	<a href="javascript:;" class="weui_btn weui_btn_mini weui_btn_primary" onclick="pre();">上一页</a>
	<a href="javascript:;" class="weui_btn weui_btn_mini weui_btn_primary" onclick="next();">下一页</a>
	</div>
	</section>
</body>
</html>
